package edu.hrbu.trade01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 徐登宇
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Commence {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String nameZh;

    private String nameEn;

    private String type;

    private int orderCount;

    private String firmName;

    private String isRecommend;

    private String smInfo;

    private String picPath;

    private String detailInfo;

    private LocalDateTime createTime;

    @TableLogic
    private int isDeleted;

}
